﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Wicture.QPZS.EPC.Services
{
    public class EsHelper
    {
        private static readonly string[] _SpecialWords = new string[] { "+", "-", "=", "&", ">", "<", "!", "(", ")", "{", "}", "[", "]", "^" };
        public static string FilterEsSpecWords(string keyword)
        {
            foreach (var item in _SpecialWords)
            {
                keyword = keyword.Replace(item, "");
            }
            return keyword?.Trim();
        }
    }
}
